package io.bdmc.modules.bss.model.device;

import java.util.List;

import lombok.Data;

/** * 接收三江推送信息 * */
// 修改[{"devices":[{"deviceName":"烟感865353030407958","installAddress":"北京天安门","modifyTime":"2018-11-02T02:45:56.425Z","deviceId":"3jyun-865353030407958"}],"replyTo":"/Agent/7365d3a54654_25/Rcv","action":"device-change","type":"update","seq":"7365d3a54654_25_1541126756629_40"}]
// 删除[{"devices":[{"deviceId":"3jyun-865353030407958"}],"replyTo":"/Agent/119e9d026aa3_25/Rcv","action":"device-change","type":"delete","seq":"119e9d026aa3_25_1541127954275_43"}]
// 添加[{"devices":[{"deviceId":"3jyun-865353030407958","deviceType":"CTNBSmokeSensor","deviceName":"烟感865353030407958","location":[116.397558,39.906925],"installAddress":"北京天安门","extension":{"monitorId":169,"IMEI":"865353030407958","Platform":"3jyun"},"deviceTypeName":"NB-IoT烟感","modifyTime":"2018-11-02T03:11:49.212Z"}],"replyTo":"/Agent/119e9d026aa3_35/Rcv","action":"device-change","type":"add","seq":"119e9d026aa3_35_1541128309416_41"}]

@Data
public class DeviceMessage {
    private List<DeviceModal> devices;
    private String replyTo;
    private String action;
    private String type;
    private String seq;
}